package com.ln.asset.core.service.impl;

import com.ln.asset.core.pojo.InjOm;
import com.ln.asset.core.mapper.InjOmMapper;
import com.ln.asset.core.service.InjOmService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cuixiaoxin
 * @since 2022-04-29
 */
@Service
public class InjOmServiceImpl extends ServiceImpl<InjOmMapper, InjOm> implements InjOmService {

    @Resource
    private InjOmMapper injOmMapper;
    @Override
    public Integer insertJom(InjOm injOm) {
        Integer num =baseMapper.insert(injOm);
        return num;
    }

    @Override
    public Integer listinsertJom(List<InjOm> injOm) {
       Integer num =injOmMapper.listInsertJoms(injOm);
        return num;
    }
}
